package com.shop.admin.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * (Coupon)实体类
 *
 * @author makejava
 * @since 2022-11-08 18:29:51
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Coupon implements Serializable {
    private static final long serialVersionUID = -38287757197008934L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 券状态
     */
    private Integer status;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 批次id
     */
    private Integer batchId;
    /**
     * 订单id
     */
    private Integer indentId;
    /**
     * 领取时间
     */
    private Date receivedTime;
    /**
     * 有效日期
     */
    private Date validatTime;
    /**
     * 使用时间
     */
    private Date usedTime;

}

